package domain;

import java.sql.Timestamp;

public class ForumPost {
	long pid;
	long tid;
	long uid;
	String content;
	Timestamp date;
	int flag;
	
	public ForumPost(long pid, long tid, long uid, String content,
			Timestamp date, int flag) {
		super();
		this.pid = pid;
		this.tid = tid;
		this.uid = uid;
		this.content = content;
		this.date = date;
		this.flag = flag;
	}
	
	public long getPid() {
		return pid;
	}
	public void setPid(long pid) {
		this.pid = pid;
	}
	public long getTid() {
		return tid;
	}
	public void setTid(long tid) {
		this.tid = tid;
	}
	public long getUid() {
		return uid;
	}
	public void setUid(long uid) {
		this.uid = uid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Timestamp getDate() {
		return date;
	}
	public void setDate(Timestamp date) {
		this.date = date;
	}
	public int getFlag() {
		return flag;
	}
	public void setFlag(int flag) {
		this.flag = flag;
	}

}
